package net.ericaro.neojavagen.expressions ;
import net.ericaro.neojavagen.names.MethodName;
import net.ericaro.neojavagen.expressions.MethodInvocation;
import net.ericaro.neojavagen.expressions.Arguments ;

/**
* *<pre> SimpleMethodInvocation :
    MethodName ( Arguments )
</pre>
*/
public class SimpleMethodInvocation  implements MethodInvocation {

MethodName methodname;
Arguments arguments ;

public SimpleMethodInvocation( MethodName methodname, Arguments arguments ){
	this.methodname = methodname; this.arguments = arguments ;
	}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	stringbuilder.append( this.methodname ).append(" ");
stringbuilder.append( "(" ).append(" ");
stringbuilder.append( this.arguments ).append(" ");
stringbuilder.append( ")" ).append(" ") ;
	return stringbuilder.toString();
}

}
